83c0ed2044ae4336c3d4fc99c3f13a0badbbc872,1.7.10/src/main/java/net/geforcemods/securitycraft/blocks/mines/BlockClaymore.java,BlockClaymore,activateMine,#World#number#number#number#,122
Before Change
public void activateMine(World world, int par2, int par3, int par4) {
if(!world.isRemote){
world.setBlock(par2, par3, par4, mod_SecurityCraft.claymoreActive);
}
}
After Change
public void activateMine(World world, int par2, int par3, int par4) {
if(!world.isRemote){
Owner owner = ((IOwnable)world.getBlock(par2, par3, par4)).getOwner();
world.setBlock(par2, par3, par4, mod_SecurityCraft.claymoreActive);
((IOwnable)world.getBlock(par2, par3, par4)).setOwner(owner.getUUID(), owner.getName());
}
}